
# INTERFACES
echo "Write desired ip address (four octets separated by ENTER)"
read octet1;
read octet2;
read octet3;
read octet4;

interfaz1=`ifconfig | egrep "eth." -o | head -1`":5"
ifconfig $interfaz1 $1"."$2"."$3"."$4 broadcast $1"."$2"."$3".255" netmask 255.255.255.0

